package com.system.healthproject.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel
public class Chronic {
    @ApiModelProperty(name = "chronicId",notes = "慢病史id")
    private Integer chronicId;
    @ApiModelProperty(name = "chronicName",notes = "慢病史名称")
    private String chronicName;

    public Chronic() {
    }

    public Chronic(Integer chronicId, String chronicName) {
        this.chronicId = chronicId;
        this.chronicName = chronicName;
    }


    public Integer getChronicId() {
        return chronicId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column chronic.chronic_id
     *
     * @param chronicId the value for chronic.chronic_id
     *
     * @mbg.generated
     */
    public void setChronicId(Integer chronicId) {
        this.chronicId = chronicId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column chronic.chronic_name
     *
     * @return the value of chronic.chronic_name
     *
     * @mbg.generated
     */
    public String getChronicName() {
        return chronicName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column chronic.chronic_name
     *
     * @param chronicName the value for chronic.chronic_name
     *
     * @mbg.generated
     */
    public void setChronicName(String chronicName) {
        this.chronicName = chronicName == null ? null : chronicName.trim();
    }
}
